//
//  File.swift
//  MagaCore
//  
//  Created by wealon on 2024.
//  MagaCore.
//  
    

import Foundation
import SwiftUI

enum HTPathRout: Hashable {
case htVideoDetails(var_id: String, var_epId: String = "", var_seekTime: String? = "", var_source: String = "")
}

class HTPathRoutManager {
    static let var_shared = HTPathRoutManager()
    
    func ht_routeJumpManage(_ var_rout: HTPathRout) -> some View {
        switch var_rout {
        case .htVideoDetails(let var_id, let var_epId, let var_seekTime, let var_source):
            return HTVideoDetailScreen(var_id: var_id, var_source: var_source)
        }
//        return EmptyView()
    }
}
